Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List UI more optimized #64

Merged
merged 3 commits into from
Jun 16, 2023
Merged

List UI more optimized #64

merged 3 commits into from
Jun 16, 2023

Conversation

coppermouse
Copy link
Collaborator

But it is not as optimized as not render when mouse not over.

The not render when mouse not over is not good because it has some issues. Hover over an item and then move mouse sideways so it leaves the list. Then hover marker is still there because there is not update to remove it.

I think I can make this list even more optimized and I will keep optimizations on this branch.

Feel free to merge and remove the not-render-if-no-mouse-over thing if you find the list ui now being fast enough,

…state. make use of this cached method by passing on the state and it only renders if a new state. this makes game faster
…ly want to work with primitives when cache keys). only load frame images once, not for every instance of list ui
@remance remance merged commit 505e2e3 into dev Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants